package com.commons.utils.enums;

public enum CodeEnum {

    PHONE_RESET_EMAIL_CODE("phone_reset_email_code_","通过手机号码重置邮箱"),
    EMAIL_RESET_EMAIL_CODE("email_reset_email_code_","通过旧邮箱重置邮箱"),
    PHONE_RESET_PWD_CODE("phone_reset_pwd_code_","通过手机号码重置密码"),
    EMAIL_RESET_PWD_CODE("email_reset_pwd_code_","通过邮箱重置密码");

    private final String key;
    private final String description;

    CodeEnum(String key, String description) {
        this.key = key;
        this.description = description;
    }

    public String getKey() {
        return key;
    }

    public String getDescription() {
        return description;
    }


}
